<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
|	example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|	http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There area two reserved routes:
|
|	$route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|	$route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router what URI segments to use if those provided
| in the URL cannot be matched to a valid route.
|
*/

$route['default_controller'] = "home";
$route['login'] = "home/login";
$route['authenticate'] = "home/authenticate";
$route['(:any)/dashboard'] = "home/dashboard/$1";
$route['(:any)/logout'] = "home/logOut/$1";
//for event and awards
$route['(:any)/create_event'] = "manage_event/createEvent/$1";
$route['(:any)/manage_event'] = "manage_event/manageEvent/$1";
$route['(:any)/modify_event'] = "manage_event/modifyEvent/$1";
$route['(:any)/edit_event'] = "manage_event/editEvent/$1";
$route['(:any)/create_award'] = "manage_event/createAward/$1";
$route['(:any)/manage_award'] = "manage_event/manageAward/$1";
$route['(:any)/modify_award'] = "manage_event/modifyAward/$1";
$route['(:any)/edit_award'] = "manage_event/editAward/$1";
$route['(:any)/create_event_form'] = "manage_event/createEventForm/$1";
$route['(:any)/manage_event_faqs'] = "manage_event/manageEventFaqs/$1";
$route['(:any)/modify_faq'] = "manage_event/modifyFaqs/$1";
$route['(:any)/manage_event_videos'] = "manage_event/manageEventVideos/$1";
$route['(:any)/modify_videos'] = "manage_event/modifyVideos/$1";
$route['admin/report1.html'] = "manage_event/report1";
$route['admin/report2.html'] = "manage_event/report2";
$route['admin/report3.html'] = "manage_event/report3";
$route['admin/report4.html'] = "manage_event/report4";
$route['admin/report5.html'] = "manage_event/report5";
$route['admin/report6.html'] = "manage_event/report6";
$route['admin/download_report1'] = "manage_event/download_report1";
$route['admin/download_report2'] = "manage_event/download_report2";
$route['admin/download_report3'] = "manage_event/download_report3";
$route['admin/download_report4'] = "manage_event/download_report4";
$route['admin/download_report5'] = "manage_event/download_report5";
$route['admin/download_report6'] = "manage_event/download_report6";

//for creating admin
$route['admin/create_admin'] = "manage_admin/createAdmin";
$route['admin/manage_admin'] = "manage_admin/manageAdmin";
$route['admin/edit_admin'] = "manage_admin/editAdmin";
$route['admin/update_profile']="manage_admin/update_admin";
//for creating panelist
$route['admin/create_panelist'] = "manage_admin/createPanelist";
$route['admin/manage_panelist'] = "manage_admin/managePanelist";
$route['admin/edit_panelist'] = "manage_admin/editPanelist";
$route['admin/modify_panelist'] = "manage_admin/modifyPanelist";
$route['panelist/update_profile'] = "manage_admin/updateProfile";
$route['panelist/application'] = "manage_admin/manageApplication";
$route['panelist/awards'] = "manage_admin/panelist_awards_view";
//for scoring
$route['admin/admin_score'] = "manage_scoring/createScore";
$route['admin/update_score'] = "manage_scoring/updateScore";
$route['admin/add_score'] = "manage_scoring/admin_scoresecond";
//panelist scoring
$route['panelist/score'] = "manage_scoring/panalist_scoring";
//for user
$route['register']="users/register";
//$route['user/application'] = "home/new_application";
//$route['user/new_application'] = "home/new_application";
$route['user/application'] = "home/new_application";
$route['user/nomination'] = "users/nominationNew";
$route['user/activate_user']="users/activate_user";
$route['user/dashboard'] = "users/dashboard";
$route['user/edit_details'] = "users/edit_details";
$route['user/application_form'] = "users/redirectApplicationForm";
$route['user/add_user_application'] = "users/addUserApplication";
$route['user/add_user_nomination'] = "users/addUserNomination";
$route['user/application_new/(:any)'] = "users/applicationNew/$1";
//for refree
$route['refree'] = "users/refree";
//for website
$route['events.php/(:any)'] = "home/events/$1";
$route['faq.php'] = "home/faq";
$route['about.php'] = "home/about_prospernet";
$route['about_elsevier.php'] = "home/about_elsevier";
$route['about_alexander_von_humboldt_foundation.php'] = "home/about_alexander_von_humboldt_foundation";
$route['contact_us'] = "home/contact_us";
$route['forgot_password'] = "home/forgot_password";
$route['reset_password'] = "home/reset_key_check";
//404
$route['404_override'] = 'home/pageNotFound';
/* End of file routes.php */
/* Location: ./application/config/routes.php */
?>